﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="role_user_addnew.aspx.cs"
    Inherits="TCMSystem.admin.role_user_addnew" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
    <title></title>
</head>
<body>
    <form id="form1" runat="server">
    <ext:PageManager ID="PageManager1" AutoSizePanelID="Panel1" runat="server" />
    <ext:Panel ID="Panel1" ShowBorder="false" ShowHeader="false" runat="server" BodyPadding="10px"
        EnableBackgroundColor="true" Layout="Fit">
        <Toolbars>
            <ext:Toolbar ID="Toolbar1" runat="server">
                <Items>
                    <ext:Button ID="btnClose" Icon="SystemClose" EnablePostBack="false" runat="server"
                        Text="关闭">
                    </ext:Button>
                    <ext:ToolbarSeparator ID="ToolbarSeparator1" runat="server">
                    </ext:ToolbarSeparator>
                    <ext:Button ID="btnSaveClose" ValidateForms="SimpleForm1" Icon="SystemSaveClose"
                        OnClick="btnSaveClose_Click" runat="server" Text="选择后关闭">
                    </ext:Button>
                    <ext:ToolbarFill runat="server">
                    </ext:ToolbarFill>
                    <ext:TwinTriggerBox ID="ttbSearchMessage" Width="200px" runat="server" ShowLabel="false" EmptyText="在用户名称中搜索"
                        Trigger1Icon="Clear" Trigger2Icon="Search" ShowTrigger1="false" OnTrigger2Click="ttbSearchMessage_Trigger2Click"
                        OnTrigger1Click="ttbSearchMessage_Trigger1Click">
                    </ext:TwinTriggerBox>
                </Items>
            </ext:Toolbar>
        </Toolbars>
        <Items>
            <ext:Grid ID="Grid1" runat="server" ShowBorder="true" ShowHeader="false"
                EnableCheckBoxSelect="true" EnableRowNumber="true" DataKeyNames="Id,Name" AllowSorting="true"
                OnSort="Grid1_Sort" SortColumnIndex="0" SortDirection="DESC" AllowPaging="true"
                IsDatabasePaging="true" OnPageIndexChange="Grid1_PageIndexChange">
                <Columns>
                    <ext:BoundField DataField="Name" SortField="Name" Width="100px" HeaderText="用户名" />
                    <ext:BoundField DataField="RealName" SortField="RealName" Width="100px" HeaderText="真实姓名" />
                    <ext:CheckBoxField DataField="Enabled" SortField="Enabled" HeaderText="启用" RenderAsStaticField="true"
                        Width="50px" />
                    <ext:BoundField DataField="Gender" SortField="Gender" Width="50px" HeaderText="性别" />
                    <ext:BoundField DataField="Email" SortField="Email" Width="150px" HeaderText="电子邮箱" />
                    <ext:BoundField DataField="Remark" ExpandUnusedSpace="true" HeaderText="备注" />
                </Columns>
            </ext:Grid>
        </Items>
    </ext:Panel>
    </form>
</body>
</html>
